package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    long findCountByOrderDate(Date orderDate);
    void editNumberByOrderDate(OrderSetting orderSetting);
    void add(OrderSetting orderSetting);
    List<OrderSetting> getOrderSettingsByMonth(Map<String, String> map);
    OrderSetting findByOrderDate(Date date);
    void editReservationsByOrderDate(OrderSetting orderSetting);
    void clearOrderSetting(Date orderDate);
}
